﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ControleBox
{
    public partial class Controle<T>: UserControl
                                      where T : Control, new()
    {
        #region Attributs
        #endregion

        #region Constructeur
        public Controle()
        {
            InitializeComponent();
        }
        #endregion

        #region Proprietes
        public Label Label
        {
            get { return this.label1; }
            set { this.label1 = value; }
        }

        public T Control
        {
            get { return this.control; }
            set { this.control = value; }
        }
        #endregion

        #region Methodes
        #endregion
    }
}
